//test.h  头文件
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <sys/types.h>

/////////////////////////////////////////////////////////////////////
typedef void (*pf_callbakck)(int a);
typedef struct Compute_ST
{
	int index;
	pf_callbakck function;
}Compute_ST;
int Registe_Callback_Fun(Compute_ST *registed_fun);
void mgmtb_fun(int num);

/////////////////////////////////////////////////////////////////////
typedef void (*CODEC_EncodeGetBuffer_CALLBACK)(int encChannelId,int encWidth,int encHigh,void *encBuf,int size);
int CODEC_encSetCallback(CODEC_EncodeGetBuffer_CALLBACK p);       
void CODEC_encGetBuffCall(int encChnId,int encWidth,int encHigh,void *encBuf,int size);
void * test_fun(void *p);

/////////////////////////////////////////////////////////////////////
typedef void (*SendstrenaCallback)(void * data);
typedef struct sdk_stream_info_t
{
    int lens;
    SendstrenaCallback funtion;
}sdk_stream_info_t;
int sdk_register_callback(SendstrenaCallback VideoStreanCb);
